package com.ruoyi.eqmonitor.smdtv.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.eqmonitor.smdtv.domain.Smdtv8;
import org.apache.ibatis.annotations.Param;

/**
 * @author ruoyi
 * @date 2023-01-09
 */
public interface Smdtv8Mapper extends BaseMapper<Smdtv8>{

    public List<Smdtv8> selectSmdtv8List(@Param("smdtv8")Smdtv8 smdtv8,
                                         @Param("tableName")String tableName,
                                         @Param("pageNum")Integer pageNum,
                                         @Param("pageSize")Integer pageSize);

    Long getTotal(@Param("smdtv8")Smdtv8 smdtv8,
                  @Param("tableName")String tableName);

    public Smdtv8 selectSmdtv8ById(@Param("id")Long id, @Param("tableName")String tableName);

    int save(@Param("smdtv8")Smdtv8 smdtv8, @Param("tableName")String tableName);

    int updateById(@Param("smdtv8")Smdtv8 smdtv8, @Param("tableName")String tableName);

}
